package com.qianxi.wit.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zqp
 * @since 2021-01-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TbConsult对象", description="")
public class TbConsult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "订单生产时间")
    private Date consultCreateTime;

    @ApiModelProperty(value = "医生编号")
    private Long doctoreId;

    @ApiModelProperty(value = "医生名称")
    private String doctoreName;

    @ApiModelProperty(value = "患者编号")
    private Long patientId;

    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "状态(1完成支付/2支付失败)")
    private String consultStatus;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal consultMoney;

    @ApiModelProperty(value = "支付方式(1微信支付/2支付宝/3银行卡)")
    private String payerStyle;

    @Override
    public String toString() {
        return "TbConsult{" +
                "id='" + id + '\'' +
                ", consultCreateTime=" + consultCreateTime +
                ", doctoreId=" + doctoreId +
                ", doctoreName='" + doctoreName + '\'' +
                ", patientId=" + patientId +
                ", patientName='" + patientName + '\'' +
                ", consultStatus='" + consultStatus + '\'' +
                ", consultMoney=" + consultMoney +
                ", payerStyle='" + payerStyle + '\'' +
                '}';
    }
}
